package com.open.capacity.employee.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class InformationModel implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = -5886012896705137070L;

    private Long id;

    @Excel(name = "姓名", height = 20, width = 30, isImportField = "true_st")
    private String fullName;

    @Excel(name = "性别", replace = {"男_0", "女_1"}, suffix = "生", isImportField = "true_st")
    private Integer sex;

//    private String password;


//    @Excel(name = "用户头像", type = 2 ,width = 40 , height = 20,imageType = 2)
//    private String icon;

    @Excel(name = "手机号码", height = 20, width = 30, isImportField = "true_st")
    private String phone;

    @Excel(name = "邮箱", height = 20, width = 30, isImportField = "true_st")
    private String email;

    @Excel(name = "学校", height = 20, width = 30, isImportField = "true_st")
    private String schoolName;

    @Excel(name = "学历", replace = {"高中_0", "大专_1", "本科_2", "研究生_3"}, suffix = "", isImportField = "true_st")
    private Integer education;

    @Excel(name = "技能", height = 20, width = 30, isImportField = "true_st")
    private String skills;

    @Excel(name = "经验", height = 20, width = 30, isImportField = "true_st")
    private String projectEp;

    @Excel(name = "年限", height = 20, width = 30, isImportField = "true_st")
    private String workYears;

    @Excel(name = "薪资", height = 20, width = 30, isImportField = "true_st")
    private String epSalary;

//    private Boolean enabled;
//
//    private String type;

    @Excel(name = "创建时间", databaseFormat = "yyyyMMddHHmmss", format = "yyyy-MM-dd HH:mm:ss", isImportField = "true_st", width = 20)
    private Date createTime;

    @Excel(name = "修改时间", databaseFormat = "yyyyMMddHHmmss", format = "yyyy-MM-dd HH:mm:ss", isImportField = "true_st", width = 20)
    private Date updateTime;

}

